package com.itdianzi.domain.cargo;

import com.itdianzi.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

public class Product extends BaseEntity implements Serializable {

    private String id;  //ID
    private String productNo;  //编号
    private String productImage;  //照片路径
    private String description;  //描述
    private String factoryId;  //厂家ID
    private String factoryName;  //厂家简称
    private Double price;  //市场价
    private Double sizeLenght;  //尺寸长
    private Double sizeWidth;  //尺寸宽
    private Double sizeHeight;  //尺寸高
    private String color;  //颜色
    private String packing;  //包装
    private String packingUnit;  //包装单位
    private Double type20;  //集装箱类别20
    private Double type40;  //集装箱类别40
    private Double type40hc;  //集装箱类别40HC
    private Integer qty;  //数量
    private Double cbm;  //体积
    private Double mpsizeLenght;  //大箱尺寸长
    private Double mpsizeWidth;  //大箱尺寸宽
    private Double mpsizeHeight;  //大箱尺寸高
    private String remark;  //备注
    private Date inputTime;  //录入时间


    public String getId() {
        return id;
    }


    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }


    public String getProductNo() {
        return productNo;
    }


    public void setProductNo(String productNo) {
        this.productNo = productNo == null ? null : productNo.trim();
    }


    public String getProductImage() {
        return productImage;
    }


    public void setProductImage(String productImage) {
        this.productImage = productImage == null ? null : productImage.trim();
    }


    public String getDescription() {
        return description;
    }


    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }


    public String getFactoryId() {
        return factoryId;
    }


    public void setFactoryId(String factoryId) {
        this.factoryId = factoryId == null ? null : factoryId.trim();
    }


    public String getFactoryName() {
        return factoryName;
    }


    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName == null ? null : factoryName.trim();
    }


    public Double getPrice() {
        return price;
    }


    public void setPrice(Double price) {
        this.price = price;
    }


    public Double getSizeLenght() {
        return sizeLenght;
    }


    public void setSizeLenght(Double sizeLenght) {
        this.sizeLenght = sizeLenght;
    }


    public Double getSizeWidth() {
        return sizeWidth;
    }


    public void setSizeWidth(Double sizeWidth) {
        this.sizeWidth = sizeWidth;
    }


    public Double getSizeHeight() {
        return sizeHeight;
    }


    public void setSizeHeight(Double sizeHeight) {
        this.sizeHeight = sizeHeight;
    }


    public String getColor() {
        return color;
    }


    public void setColor(String color) {
        this.color = color == null ? null : color.trim();
    }


    public String getPacking() {
        return packing;
    }


    public void setPacking(String packing) {
        this.packing = packing == null ? null : packing.trim();
    }


    public String getPackingUnit() {
        return packingUnit;
    }


    public void setPackingUnit(String packingUnit) {
        this.packingUnit = packingUnit == null ? null : packingUnit.trim();
    }


    public Double getType20() {
        return type20;
    }


    public void setType20(Double type20) {
        this.type20 = type20;
    }


    public Double getType40() {
        return type40;
    }


    public void setType40(Double type40) {
        this.type40 = type40;
    }


    public Double getType40hc() {
        return type40hc;
    }


    public void setType40hc(Double type40hc) {
        this.type40hc = type40hc;
    }


    public Integer getQty() {
        return qty;
    }


    public void setQty(Integer qty) {
        this.qty = qty;
    }


    public Double getCbm() {
        return cbm;
    }


    public void setCbm(Double cbm) {
        this.cbm = cbm;
    }


    public Double getMpsizeLenght() {
        return mpsizeLenght;
    }


    public void setMpsizeLenght(Double mpsizeLenght) {
        this.mpsizeLenght = mpsizeLenght;
    }


    public Double getMpsizeWidth() {
        return mpsizeWidth;
    }


    public void setMpsizeWidth(Double mpsizeWidth) {
        this.mpsizeWidth = mpsizeWidth;
    }


    public Double getMpsizeHeight() {
        return mpsizeHeight;
    }


    public void setMpsizeHeight(Double mpsizeHeight) {
        this.mpsizeHeight = mpsizeHeight;
    }


    public String getRemark() {
        return remark;
    }


    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }


    public Date getInputTime() {
        return inputTime;
    }


    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id='" + id + '\'' +
                ", productNo='" + productNo + '\'' +
                ", productImage='" + productImage + '\'' +
                ", description='" + description + '\'' +
                ", factoryId='" + factoryId + '\'' +
                ", factoryName='" + factoryName + '\'' +
                ", price=" + price +
                ", sizeLenght=" + sizeLenght +
                ", sizeWidth=" + sizeWidth +
                ", sizeHeight=" + sizeHeight +
                ", color='" + color + '\'' +
                ", packing='" + packing + '\'' +
                ", packingUnit='" + packingUnit + '\'' +
                ", type20=" + type20 +
                ", type40=" + type40 +
                ", type40hc=" + type40hc +
                ", qty=" + qty +
                ", cbm=" + cbm +
                ", mpsizeLenght=" + mpsizeLenght +
                ", mpsizeWidth=" + mpsizeWidth +
                ", mpsizeHeight=" + mpsizeHeight +
                ", remark='" + remark + '\'' +
                ", inputTime=" + inputTime +
                '}';
    }
}